import { getAction, deleteAction, putAction, postAction, httpAction, postFormData } from '@/api/manage'
const gateway = '/api/gateway/jic-backend-operation'

const baseUrl = window._CONFIG['domianURL'] || '/jeecg-boot'
export const spaceImport = baseUrl + gateway + `/parking/space/import` // 导入人员信息
export const templateDownload = baseUrl + gateway + `/parking/space/templateDownload` // 下载导入模板
export const oneWheelReward = (params) => postAction(gateway + `/parking/space/oneWheelReward`, params) // 第一轮抽奖
export const twoWheelReward = (params) => postAction(gateway + `/parking/space/twoWheelReward`, params) // 第二轮抽奖
export const exportReward = baseUrl + gateway + `/parking/space/exportReward` // 导出中奖记录
export const message = (params) => getAction(gateway + `/parking/space/message`, params) // 推送钉钉消息
